package com.ruoyi.system.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="ruoyi-mes",path = "/code")
public interface CodeClient {
    @GetMapping("/getUser/{id}")
    String getCode(@PathVariable("id")Integer code);
 }
